﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AddItem.aspx.cs" Inherits="Directory.Web.AddItem"
    MasterPageFile="~/DefaultMasterPage.master" Theme="Default" %>

<asp:Content ContentPlaceHolderID="head" runat="server">
    <title>
        <% = Directory.Web.WebSettings.GetInstance().SiteName %>
        — 添加<%= Resources.Resource.Item %></title>
</asp:Content>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <table>
        <tr>
            <td>
                <label>
                    <!--% = Resources.Resource.ResourceManager.GetString("ItemTitle") %-->条文标题</label>
            </td>
            <td>
                <asp:TextBox ID="tbTitle" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbTitle"
                    ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <label>
                    <!--% = Resources.Resource.ResourceManager.GetString("Category") %-->所属分类</label>
            </td>
            <td>
                <DirectoryControl:CascadingCategory runat="server" ID="ccCategories" />
            </td>
        </tr>
        <tr>
            <td>
                <label>
                    <% = Resources.Resource.ResourceManager.GetString("ItemLinkUrl") %></label>
            </td>
            <td>
                <asp:TextBox ID="tbLinkUrl" runat="server" Width="300"></asp:TextBox>
                <span class="notes">请尽可能确保链接的有效性</span>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbLinkUrl"
                    ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                <label>
                    内容描述：</label>
            </td>
            <td>
                <asp:TextBox ID="tbDescription" runat="server" TextMode="MultiLine" Height="69px"
                    Width="450px"></asp:TextBox>
                <span class="notes">网站的信息，性质，请尽量用简短的语言</span>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <center>
                    <asp:Button ID="btnRecommend" runat="server" OnClick="btnRecommend_Click" Text="提 交" />
                    <asp:Literal ID="ltMsg" runat="server"></asp:Literal>
                </center>
            </td>
        </tr>
    </table>
</asp:Content>
